<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>加水印</title>
    <link rel="stylesheet" href="./index.css">
</head>
<body>
    <div class="selectWrapper">
        <input type="file" id="selectPic" accept="image/*">
        <label id="btnSelectPic" for="selectPic">选择图片</label>
    </div>
    <div id="imgWrapper"></div>
    <div class="buildWatermark">
        <input id="markText" type="text" placeholder="水印文字最长5个字" maxlength="5">
        <button id="addWatermark">添加</button>
    </div>
    <div id="canvasWrapper" class="canvasWrapper"></div>
    <button id="toDownload">下载</button>
<script src="./index.js"></script>
</body>
</html>